<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('Promoters/index')}">内部推广人员</a></li>
        <li class="active"><a href="" target="_self">邀请情况</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('Promoters/index')}">
        <div class="form-group">
            <label>申请次数：</label>
            {$count}次
            <label>注册人数：</label>
            {$num}人
            <label>注册成功率：</label>
            {$invited_bibi}
        </div>
    </form>
    <table class="table table-bordered table-hover table-striped" id="dataTables-date">
        <thead>
        <tr>
            <th>手机号</th>
            <th>申请时间</th>
            <th>截止时间</th>
            <th>邀请情况</th>
            <th>被邀请人手机号</th>
            <th>注册时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <volist name="list" id ="sto">
            <tr>
                <td>{$sto.phone}</td>
                <td>{$sto.start_time|date="Y-m-d H:i:s",###}</td>
                <td>{$sto.end_time|date="Y-m-d H:i:s",###}</td>
                <td>{$sto.status_value}</td>
                <td>{$sto.invited_phone}</td>
                <td>{$sto.time_value}</td>
                <td>
                    <if condition="$sto['status'] eq 2">
                        <a href="{:U('Promoters/memberlist',array('store_id'=>$sto['store_id']))}">查看推广情况</a>
                        <else/>
                        无
                    </if>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
    <a class="btn btn-primary" href="javascript:history.back(-1)">返回上一页</a>

</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
